Fix Cua Driver release discovery across feed pages - #347
Conversation
Build on omacom#306 without replacing its package or updater workaround. Exhaust the component feed before selecting a release and cover quarantine, version ordering, invalid input, and transport failures with offline fixtures.
Feed GitHub release pages to jq through stdin so real pages do not exceed Linux argument limits. Generate an oversized fixture response in the curl mock, and run hook fixtures against a temporary pinned PKGBUILD so routine package updates do not break repository self-tests. Co-Authored-By: Codex GPT-6 XHigh <noreply@openai.com>
|
Reviewed
On a disposable credential-free Omabot worker, all three repository self-tests passed with native pacman The unchanged 0.23.2 x86_64 package built through Codex GPT-6 XHigh supplied the large-page failure mechanism and reviewed the final two-file fix without further findings. The named T3 review shares a readable filesystem, so process-level independence is not guaranteed; findings were verified directly on the worker. Final-head Arch self-tests pass. Ready for a maintainer to merge #347 into 🤖 Generated by GPT-6 in T3 Code. Reviewed by Codex GPT-6 XHigh. |
The Cua monorepo publishes several components in one release feed, so the first 100 releases can contain no eligible Driver release. Scan the paginated feed before selecting the highest stable-shaped Driver version that clears the existing 24-hour quarantine, with a 100-page bound and failure on incomplete scans or malformed responses. Feed release pages to jq through stdin so large asset manifests do not exceed Linux's argument-size limit.
Run deterministic hook fixtures through the existing
bin/sync-upstream self-testentry point with native pacmanvercmp. The fixtures cover later-page discovery, large responses, version ordering, quarantine, dates, checksums and API failures. A temporary pinned PKGBUILD keeps the fixtures independent of routine package updates.This PR targets
add-cua-driver-binand lands into #306 first. It preserves package version 0.23.2, both architectures and the pacman installer stub. Keep that workaround until a Driver release containing trycua/cua#3636 reaches this package through its normal update path. No separate issue is linked.🤖 Generated by GPT-6 in T3 Code. Reviewed by Codex GPT-6 XHigh.